import Vue from 'vue'
import App from './App'
import api from './api'
import util from './common/util'
import store from './store'

//挂载到全局，让所有页面都能接收
import myRequest from './common/api.js'
Vue.prototype.$myRequest = myRequest //挂载到Vue的原型上


Vue.config.productionTip = false

App.mpType = 'app'

Vue.prototype.$store = store
Vue.prototype.$api = api
Vue.prototype.$util = util

const app = new Vue({
	store,
    ...App
})
app.$mount()
